package com.codoon.unova.bean;

import java.io.Serializable;

/**
 * 
 * @author scott
 * 
 *         Function:从服务器更新下来的数据信息
 */
public class SportsBean implements Serializable {
	private float calories;// 千卡的百分之一
	private float meters;// 单位是千米
	private String date;
	private int steps;

	public SportsBean() {
		super();
	}

	public SportsBean(int steps, float calories, float meters, String date) {
		super();
		this.calories = calories;
		this.meters = meters;
		this.date = date;
		this.steps = steps;
	}

	public float getCalories() {
		return calories;
	}

	public void setCalories(float calories) {
		this.calories = calories;
	}

	public float getMeters() {
		return meters;
	}

	public void setMeters(float meters) {
		this.meters = meters;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getSteps() {
		return steps;
	}

	public void setSteps(int steps) {
		this.steps = steps;
	}

	@Override
	public String toString() {
		return "SportsBean [ calories="+ calories + ", meters=" + meters  + ", date=" + date + ", steps=" + steps  + "]";
	}

}
